package com.readpost.service.impl;


import com.readpost.mapper.ArticleTageMapper;
import com.readpost.service.ArticleTageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ArticleTageServiceImpl implements ArticleTageService {

    @Autowired
    private ArticleTageMapper articleTageMapper;


    /**
     * 添加文章标签
     */
    @Override
    public void addArticleTag() {
        articleTageMapper.addArticleTag();
    }

    @Override
    public Integer getArticleTagRecord(Integer ArticleId) {
        return articleTageMapper.getArticleTagsRecordByArticleId(ArticleId);
    }
}
